/**
 * @author DELL
 * @createDate 2016/11/15 14:17
 * @copyright 广州市生物制品有限公司
 * @description 未经本公司许可，不得以任何方式复制或使用本程序任何部分
 */
package com.lzw.command;

import org.axonframework.commandhandling.annotation.TargetAggregateIdentifier;

/**
 * 类功能描述: TODO
 *
 * @author 12360
 * @version 1.0
 * @createDate Nov 19, 2015 11:16:44 AM
 */
public class CreditAccountCommand {

    @TargetAggregateIdentifier
    private final String account;
    private final Double amount;

    public CreditAccountCommand(String account, Double amount) {
        this.account = account;
        this.amount = amount;
    }

    public String getAccount() {
        return account;
    }

    public Double getAmount() {
        return amount;
    }
}
